package com.yxy.dao;

import java.util.List;
import com.yxy.entity.ClientContent;


/**
 *
 * ClientContentDao
 *
 * @version
 * <pre>
 * Author	Version		Date		Changes
 * 邓文俊 	1.0  	2018-01-11 17:40:11	 	Created
 *
 * </pre>
 * @since 1.
 */
public interface ClientContentDao {
    /**
     * 单个新增
     *
     * @param entity
     * @return
     */
    int insert(ClientContent entity);

    /**
     * 单个更新
     *
     * @param entity
     * @return
     */
    int updateByPrimaryKey(ClientContent entity);

    /**
     * 单个删除
     *
     * @param entity
     * @return
     */
    int deleteByPrimaryKey(ClientContent entity);



    /**
     * 查询列表
     *
     * @param entity
     * @return
     */
    List<ClientContent> selectAll(ClientContent entity);

    /**
     * 根据id查询
     *
     * @param entity
     * @return
     */
    ClientContent select(ClientContent entity);


    /**
     * 批量新增
     *
     * @param list
     * @return
     */
    int insertBatch(List<ClientContent> list);


    /**
     * 批量删除
     *
     * @param list
     * @return
     */
    int deleteBatch(List<ClientContent> list);






}